
package com.vader.boot.beanPostProcessor;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Vader
 * @date 2022/5/12
 **/
@ConfigurationProperties(prefix = "java")
public class Bean4 {

    private String name;

    private String version;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "Bean4{" +
                "name='" + name + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
